package chapter03;

/**
 * Created by Miracle yaochengwei on 2022/3/31 21:41
 */
public class AutoConvert {
    //编写一个 main 方法
    public static void main(String[] args) {
        //演示自动转换
        int num = 'a';  //ok char-->int
        double d1 = 80; //ok  int-->double
        System.out.println(num);//97
        System.out.println(d1);//80.0
    }
}
